﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ducu.SRV.ServiceInteface
{
    public interface IMessageService
    {
        bool HasNew();
        void Read(int id);
        void SendFromMe(string content, int toId);

        int GetToMeCount();
        ViewModel.Message.IndexModel GetToMe(GLB.Global.Pager pager);

        ViewModel.Message.IndexModel GetFromMe(GLB.Global.Pager pager);

    }
}
